﻿<link rel="stylesheet" type="text/css" href="/public/css/menu/pro_dropdown_2.css" />
<script src="/public/js/menu/stuHover.js" type="text/javascript"></script>
<script src="/public/js/menu/jquery-1.4.2.min.js" type="text/javascript"></script>	
<?php 	
		Zend_Session::start(); 
		$defaultNamespace = new Zend_Session_Namespace('Default');
?>
	<div id=menuLogin>
		<?if(count($defaultNamespace->carts)<=0){?>
			<a href="http://shoppingcartcnpm.orgfree.com/index.php/LuyenUser/cart/cart">Giỏ hàng: chưa có gì</a>
		<? }else{ ?>
			<a href="http://shoppingcartcnpm.orgfree.com/index.php/LuyenUser/cart/cart">Giỏ hàng: có <?php echo count($defaultNamespace->carts); ?>  sản phẩm</a>
		<? } ?>
		&nbsp;|&nbsp;
		<? if(!$defaultNamespace->name){ ?>	
			<a href="http://shoppingcartcnpm.orgfree.com/index.php/LuyenUser/user/login">Đăng nhập</a>
		<? }else{ ?>
			<a href="http://shoppingcartcnpm.orgfree.com/index.php/LuyenUser/user/accountinfo"><?php echo $defaultNamespace->name ?></a>
		<? } ?>
		&nbsp;|&nbsp;
		<? if(!$defaultNamespace->name){ ?>	
			<a href="http://shoppingcartcnpm.orgfree.com/index.php/LuyenUser/user/create">Đăng ký</a>
		<? }else{ ?>
			<a href="http://shoppingcartcnpm.orgfree.com/index.php/LuyenUser/user/logout">Đăng xuất </a>
		<? } ?>
	</div>

